package racing.stage;

/**
 * Class of the game's stage for the race.
 * 
 * @author Sarathit Sangtaweep 5510546182
 * @author Veerapat Teeravipark 5510547022
 * @version 2013
 */
public class Stage {
	
	private String name;
	/**Array of the stage's block (for creating the right image)*/
	private Integer[][] blocks;

	/**
	 * Constructor of the class.
	 * @param name the stage's name.
	 * @param blocks array of the stage's block.(Stage's interface)
	 */
	public Stage(String name,Integer[][] blocks){
		this.name = name;
		this.blocks = blocks;
	}
	
	/**
	 * Get the name of the stage.
	 * @return the name of the stage.
	 */
	public String getName() {
		return name;
	}

	/**
	 * Get the array of the stage's block.
	 * @return the array of the stage's block.
	 */
	public Integer[][] getBlocks() {
		return blocks;
	}

}
